fixed an error