Fixed Seg Fault when -u is not defined