Big fix https://github.com/jhipster/generator-jhipster/issues/339