fixed bad scaling isue