address daniel's comment and fix uistatic