Fix #298 wrong return value