Solved copyInstance warning