added /proc check