Fixed error not calling listener.