fix of alignment problem on 32bit systems
timer fix