clear p/q in case8