fixing undefined browser version