remove dev/pts check