Removing fetch_all because it is unnecessary and isn't supported php version <~5.3