adds missing semicolon
removes duplicate