fixed #386