fixes bug in messenger where configure hook was removed