fixed bug in handling of startstop attribute