compilation fix
deploy fixes
added version in rest url