fixing the caps