resized the api