fix UI issue with send form, fix content type to be json