fix for Edit Production button while uploading