fix compability with callbacks from rails 4