fixed many things.