fix return value in makeTask