prepare mac behaviour