fix failing record model spec