fixing issues with 0 as timing parameter (#15)