fixed problem with malformed version