improve ui
fix a problem that cause cast fail