fixed error on no data