deprecated find(:all) fix