fixed __construction bug