Fixed bug when no --size is present

Was attempting to apply int() to a None value.