Fixing make.capt() function.