correct import path
correct entity path
check for existence of array key before comparison
use import for classname. and parentheses.