Functions are giving back NULL now (User-Functions)