fixed annoying non-deep clone issue