fix bug with feature=0