fixed extra bugs
fixed space bug
other errors fixed