trying to register png correclty