abstracted fix method