use find/assign attributes instead of new to fix bug