fixed async getValue behavior