allow nameless resources (just \)
fix getResource when base uri path matches root resource