test new error check