fixes package exports to work as standalone package