cleaned up http since both are in local files