fix controller errors due to definition model changes