display error if it happens