Changed DEALLOCATE way