Added bug to log