Fixing to run gc first