fixed #2. guard prints