Fixed Weird Resource Bug