fix return, should be bool