bed version detection