added export check