implemented normalization of values to fit into plot height range
small fix