removed logging and fixed bug with min/max