added detail option for error widget