fixed deleting the final star