update stack trace element to work in 11g and 12c