updated bug in core