removed some useless code with blank images