skip input events which doesn't change anything