Fix displaying bug