fix print macro