Fixing method bug