fix complex creation from string