- fix error caused by requiring package too soon
- update readme