Linux fix
Borders check