showclose bug fixed