fixed types on avg_duration view in basic recipes