use querybuilder in lookup too for cleaner code
added errors to domain classes