some fixes. export testing and full crud