Fixed loading of gaia dependecies.