solved type issue