fix the handling of the objectType field in Statements