fixed proj cloning to clone the right class