fixed bugs with Top down mode