removing elfloader_init
adjusting code