fixed setup with plain rex from git