fix eric problems