[IMP] project, project/issue : change the type of function field and improve code