fixed code output display