fix http class