core revision & Clone function fix.