fixed minor problem. All working now