fixed specs and error adjustments