added fix for debug mission too