Fixing the error

Once again thank you for your contribution, once you merge this pull request its content will be append to your current pull request on hercules, then we'll be merging it.