remove warning statement