Fixed modify error bug

I thought it was a larger problem, but it wasn't. It's done, still needs
to be put into HTML