Made png calls unsafe