fixed append issue - changed approach to using sql statement