fix ancient staff bugs