Fixed crash under non-ARC