I am new to latex community. I started texing (Miktex 2.8) a report. I don't know if the subject line exactly states my problem.
In my report I am getting a space after each chapter number, figure number, and table number (Like, a section number as "1 .1.1" instead of "1.1.1", similarly A table in chapter 2 is labeled as "Table 2 .1: Details of..." instead of "Table 2.1: Details of..." ).
I have a class file which I am fiddling with to get the desired effect and found out that it has to do with \refstepcounter but I don't know how to fix it.
Also, I am not sure if my approach to solve this problem is right.
Please help me. I sincerely don't want to step down to the so called wyswyg wordprocessor.

The class file is attached.