Fixes printing error.