compile workaround