Fix copy and permission set