fixed bug in 8d