fixed info in resourcePanel to not be chopped off