Bug fix in Bhattachrayya