Fixed wrong routing api