Clean up doto statement