fix bug strokes map func