Fixed bug in empty features