remove unnecessary steps