fixed skip bug