Fix master detection
setup cache