removed leftover check_expand