fixing call of completion block of duration is 0