fix lock image bug