fixed bug in flashpolicyfile handler