process name instead of title and fix not returning the right name