fixed obvious errors