diff and resize checking