updated hla code to remove warnings