todo: hack to prevent app crash in reading audio file