fix missing }; and adjust min