Fixed issue when trying to use raw input data