removing err msg from respond