fixing resume upload going to json page