more precise import
fixed display bug
support for andb and orb