Minor issue resolved
 - max & min value bugfixed