schemes returning empty array instead of 404