bug fix and support retina screen