add TODO
put exception stack trace to log output
fix not set data model property generate PHP warning

just return null