Fixes the get function, now it will run