Fixed multiple function call