small fix to stay compatible with flot 0.8