refine DOM of controller / gui / dao