fixed the rest api versioning