explained bug in sourcecode