Fix bugs that prevented uploading the pressure.