remove redundant check #119