ilegel night commit

* fix loading errors (./ is the answer)
* fix sql errors (goddamn commas gonna get you every time)
* still need to figure out strange 500 error (no method clear on nil?)