cleaning up after trying api