updates to make sure preload will function