Duration not set bug