Removing warning by unsued params