Fix LG compile errors 2