fixed obvious mistakes