fix heading building with ENB (solve #30)