removing the em code to the main page