fix bug: construct mehod has return type