Fixed nil issue if no hash args passed.