fixed bug in Declarative Perspective "OnPostConstruct"