fixing width height set with size bug issue #193