fixed fatal logging