remove type restrict