Fixed leadform bug