fix for required code being overridable