fix #44, since REST API was off by one, we were compensating, but we should not anymore