hardcoded localhost removed