avoid register listener if this one is not initialized + code format :-)