fixed bash compile bug