fix number of arguments for function call in bootstrap