fix all spec tests