add logs for resize