fix false as return value