clean up slice declarations