remove messages module from procecutor