Fixed render return, and remove console logs.