Prefix BugFix

Ensure valid prefix execution.