added spark-submit post and fix small issue