fix type issue?