fixed ios issue where placement of path holder for require was being set too early.