fix return on IE