found and fixed an error