fix preload issue