fixed crash in async task call