added fix for plate name of any extension