small fix with list element adding