Fix puts issue