fix pointer format