fix id formatting