fix update on phone resizing