Fixed a NRE  in some functions without arguments