fixed resources code issues