fixed bug which caused the addosn to prepare without context & properties