Solve the bug for not being able to upload the same file