remove source and header