rm swp and fixed semicolon