Fix issue #819

fixes the #819. I don't have idea why was working before though.