fixed LEA bug