Fixes some dodgy syntax.