set completed class properly