Fixed some res issues