fixed displaying bug