Case detail changes and minor bug fix