fix deprecated ember empty function