fixed detail bug