fix length
fix
test code reduction