Fixed error message and graph height