fixed None in popup window