few fixes before sleeping

diagonal rails work!