small bug fix ( now undefined values won't appear )