fix allowAction