replaced static keyword with const keyword. fix #5