Fixed bug which returned elasticity pathway instead of space