Fixed aliasing in constructor
New f/g