Rectified error in Not code