Print functions fixed (minor fix)