Fixed Bug in Setting Graphic Params