fix mode in caps