compile fix #2