drop unnecessary type def