Fixed resize method, again