fixed removeFirst