fixing res setup in buck