bug fixed buy fund and sell fund