fix mission error

fixes issue #5