bug fixed in reverse mode