fix last of errors