move setter before listener.