handle empty features