added NULL in case it is not defined.
updated projects