ninealmonds load function fix