use safe_asprintf everywhere
-Wshadow warning fixes