Fixed using -i while using -a. Stupid mistake.