added tweaks so precompile works again