Added fix method to spec and class files
Added fix method to spec and class files