ironing out a bug