tidy up code
fix for new modifyModelCall() function