Trying to fix printf error