shop bugfix and sql ediditt