re-added code to clear the global hashtbl for each recipe and fixed formal argument bug
merge