fix entity copypaste