fix ajax query add medication