Fixing forward sensor bug