add fixCap method