Minor bugfixes in alignmets and bad uptime bugfix