Bug with exports