fix accepted types