Enhancement:adjust cap file