Added resize check for lint