tyding up popup