Fixing PutObject