detail bug fix