fix for pcase