fixed trivial bugs and removed needless images