bug fixes in genetic