sparse feature specification bug fix