LPS-39324 Fix initialization order