fix  bash resource