fixing method definition