fixed: sizeof --> strlen