fixed a minro type in code