test function fix