bug fix for raw sensor for raw data output