LPS-34978 fix bug in ADT template