fix call bash resource immediately