fixed false depractaion flag