Fixed error on contract name when uploading file.