fixed build for 2 functions lacking return