fixed nested endpoints