remove unnecessary "&&".