stop undefined value2 complaining