fixing bugs, and graphical errors
graphical edit