first bug fixing