Fixed resource warning