check for fpm
errormsg