fixes DataTypes not defined error