ebin cleanup