Fixed error in change_status route