Resource generator error fixed