Fixed some memory allocaton problems

Some passport images are bigger