fix no section error. fixes #265