Fix if the attr its nil