remove tab/space check method as it is now unused