Fixed bug that happens with --no-dev