delete wrong session=fasle and wrong logic