some small changes. Still trying to find out why localhost is different from web version