remove extra func def