Remoeved the error handling. It was causing a crash