Attribute exception issue solved.