Fixed crash error