fix merlin