remove undeeded require, and a syntax error