fixed #298