fixed gnarly bug not covered by spec