Added bug report, fixed bugs