fixing and extracting blocking device listener