Fixed printf issue