Fixed if label skip bug