removed print flag