fixed displaying problem