bug fix and detail bloc implementation