changed var name deactive to finished