improper types bug