fixed E_STRICT notice for Orm convertation
minor improvements
fix warning