Fixing minor bug about static repo