updated a bug, when a code is forked