updated error messages in objectutil