close #204; assign a function to non-function var caused crash