fix last hypermedia related bug