Fixing img load controller