added empty version support