Bugfixes for loader and introduce tiny sample