fixes nonglin upload pic