fixed translate bug in chrome