fixed private properties issue in Magehat context class