Fix for https://bitbucket.org/rotators/fosrc/issue/3/wrong-value-assigned-in