diff --git a/api-put-object.go b/api-put-object.go
index <HASH>..<HASH> 100644
--- a/api-put-object.go
+++ b/api-put-object.go
@@ -136,10 +136,10 @@ func (opts PutObjectOptions) Header() (header http.Header) {
 		header.Set(amzWebsiteRedirectLocation, opts.WebsiteRedirectLocation)
 	}
 
-	if opts.ReplicationStatus.Empty() {
+	if !opts.ReplicationStatus.Empty() {
 		header.Set(amzBucketReplicationStatus, string(opts.ReplicationStatus))
 	}
-	if opts.ReplicationMTime.IsZero() {
+	if !opts.ReplicationMTime.IsZero() {
 		header.Set(minIOBucketReplicationSourceMTime, opts.ReplicationMTime.Format(time.RFC3339))
 	}
 	if len(opts.UserTags) != 0 {
set replication opts correctly (#<I>)