fixed infamous template bug, editing panel working