fixed a lack of return