fixes pyt messing up finding methods when they had uppercase letters in them