Fix upload box plugin