some minor bug fixes makes it can work probably.