Fix for duckpan (#180)

fixes #180 @moollaza please confirm.