fixed first bug