change ondemand to static