duration compile fix