fixed a bug with exporting dependnecies