fixed add medications params