one bug fixed, found a new one