fix viewbeanfactory