Fix to maek sure code is padded with 0 in control panel.