fix #270