style change: shorten NULL checks
fix repository link