small fix on #1143
Merge pull request #1502 from conejoninja/1143

1143