fix mastersalt mode