cleaned bugs in my code