bug fix for rel=instances response and middleware order