Fixed broken id validation
Added character limit