Disable auto-load function in onload