adjust resources