replace module dir lib/ with app/