add 'use strict' and resize on cat mode