Fixed bug of not returning functions