fix scr_container function prototype