fixed path mission to work with double and single