Fixes print errors