fixed bug in Marathon class