fixed Upload problem showing security errors