add test and clear empty space