Fixed a ArrayList cannot be resolved error