fix bug in mol2d