params amount dafault 0 && attributes nan validator removed