fixed default kernel/labeling bug