page redirectionn issues fixed,tightened the constructors