Fixed bug in ncol: if the label has whitespaces replace them with _
added ncol import