setting uninitialized values to bottom