Removed debug and commented out code. Thanks Mr S.