corrected last errors