LPS-45066 AMS - fixed compile errors