fixed missing retina image warning
fixed deprecated warnings