remove use _.extend, use standard loop to set properties