remove unnecessary `tail`