remove internal.h in wrapper