Cleared error.log and fixed get_meta bug