Fixed bug crash