fixing the deprecated find(:all)