Object copy bug fixed and err msgs added