fixed the errors from instructions