retrieval of kernel version improved