fix bugs change - to _ in function name