fixed runtime error - stored procedures to load data into correct domain class