fix fro database and http