use where instead of first(:conditions => cond)