Removing an useless array