remove __construct of image/adapter.c