bugfixing y axis of graph