fix spacing in min statement