Fixing user output code