Bug fixed finally.