Fix some style issues and ignore the secondary request sent by the browser