use hash as params (fix incorrect attrs name)