BUG: fixed #165