added better erors and binding_of_caller for console for future errors in development