some stupid errors were fixed