Reverting previous fix... was not the correct one, trying to improve error logging, so I can see what is really the problem.