fix minor bug at wq