Fix wrong auto learn when symbol in between

Closed #112