bug: fixed as-you-type