remove a useless warning