Removing unnecessary unshift