[Fixes #1] Fixed asr bug