fixed x resources; deploy logic