fixed nodata bug