a bug has been fixed. some warnings have been found