modify for ui widget scale9