fixed a bunch of errors ^_^"