remove unnecessary take