Fix bugs according to failure tests

TODO: handle all failures derived from superUser actions