fixed #252