fixed some bugs attempted API test