fixed bug.........