history is getting better. still some strange bugs...