fixed #297