made merlin mode work