final bug resolved