fixed some stupid errors