fixing resize bugs in alternate