remove internal stuffs