bug to be fixed