add resize support by default