got rid of warning on ubuntu for printf