fix viewlet manager on viewlet registration