buy fund bug fixed