tested api.clean