Fixed a deprecation issue and it should be return; not return true;