fix max plaindrome