Fix wrong return value.