fix weak alias for warn