Fixed error with qoute datamodel