some bugfixes
improved mastery parsing