fix schedule interval parsing