add permissions in clear