remove redundant base types