Revert "handle scale value in ui file"

This reverts commit e686d742dc330a8880945b4e9d6d2ba24b638728.