Fix allowed destroy signal and bugs