commonDir fix