correct stock count db url from https to http