fixed resetObjects