Fix utils
Make require throw on error