fix bug close pro