change fail to warn