fix bug with compiling secrets.json