Oh I did not know ```val()``` returns ```null```.
I fix it!