fixed run plan creation using api [ci skip]