Bug removed in plane detectin stuff.