fix return value - otehrwise we get an error when everything was alright