use lang.temp and fix all_parsed callback and grunt callback