Fix function results disapperaing