multi-open bug fix
style bug fix.