some fixes for the api path and returned results