brief calculation fix