added warning to error log when not enough cells are in a line (fixed
#1690)