remove listener after they are used