Fix Max value

Could only handle 3 digits. Made max 999