bug resolved!