everyday commit. Lots of bugs were fixed.

Signed-off-by: ezheng <ezheng@cs.unc.edu>