fixed diagonal rails again