fixed null pointer with missing status msg