quick fix on min