Revert "classic strlen instead of sizeof bug closes #105"

This reverts commit 58b3d58959f6f1e76381be8c70e95dff90983bf6.