fix a bug which made users not deletable