change call on snprintf