cleanup nullable path