bug fixing on daniel image