fixes #4414 Error in console when add a new workflow action