Fixed EXC_BAD_ACCESS.