Fixed masking bug in initCommon()