Fix bugs in lpy control imports