fixed __name__ bug