fixing round calculation