fix build errors for advanced power menu