fixed bug in narrow()