Removed Warnings and set debug off