hopefully fixed some empty images issue