fixed uname check