fixed struct segfault and added a force float on load option