Remove PHP warnings
Fix quota rule not working