totop fix bug