fix for raw directive