fixed the append issue. TODO - add deferred and fix images