fixed strange bug; not sure how this happened