fixed environment lbugs