*Fixed loop bug,