tweaks so it works when build is cached