cleanup, because min and max values are working in ui now