Fixed site editing bug