orrection for bug with allow button