Fix size And refresh issue