fix function enter initial loads