[cvs-nhc98] Hat: fix segfault bug! Do not use && function - it is the