tweaks and precompile