patch quota check and test