Got rid of error handling, it was causing to many debug problems