fix error at test