Fixed bug allow method