move entry add to else statement