quick fix for file dialog return value