refine toggle function
toggle issue
p4 edit error promt