fixing borders