Fixes a bug on autogenerated project id