fixed a bug with default images