fixed a bug on displaying literal