Error when trying to run my data but not sample data