ugly hack to allow POST operation with id