fixed database issue when using finpipe.com without www