realigned a bit for linux