Fix bugs
Add specs for iq