changing listener priority