Fixed Restore Input Output