Quick bugfix found from the logs