fix slow img load