fix duration bug, wasn't parsing it correctly