remove unnecessary check and add version info