removes console.logs() from grammar