shorten comparison
var -> let
remove formatStringFromName that crashes debug build
update extension code