Remove extra 'at end of file