Fix different lengths

Signed-off-by: GreatEmerald <pastas4@gmail.com>