rewrite _wilds mapping and precompile actions