applied a check to kill off a php notice
still collecting deprecated classes to one place