fixed a bug that TiledBasis constructor can't access molecule class