improve error handling for boxons