fix bug bottom right direct problem