removing redundant snprintf defines