fix resize & and loading