fixed weird figure issue