resolved bug in function call