add F%K checking, Standardized error messages