improve image loading(using atlas)