fixed bug and removed debug