fixed confirmation and deny issue