some autoresize support